package other.mvvm.activity.src.app_package.viewpager

fun viewpagerViewModel(
        packageName: String,
        activityClass: String
) = """
package ${packageName}
import cn.logicalthinking.mvvm.base.BaseViewModel
import androidx.lifecycle.MutableLiveData

class ${activityClass}ViewModel:BaseViewModel<${activityClass}Repository>() {
    override fun initRepository()= ${activityClass}Repository()
    
      /**
     * 标题
     */
    val title = arrayListOf<String>()
}
"""